/* Copyright (c) 2006 Nordic Semiconductor. All Rights Reserved.
 *
 * The information contained herein is confidential property of Nordic Semiconductor. The use,
 * copying, transfer or disclosure of such information is prohibited except by express written
 * agreement with Nordic Semiconductor.
 */

/** @file
 * Hardware dependent macros for FAP
 * @defgroup nordic_protocol_fap_setup Frequency Agility Protocol Setup Parameters
 * @{
 * @ingroup nordic_protocol_fap
 * Hardware dependent macros for FAP. These macros enables and disables
 * interrupts the FAP depends on. They must be implemented according to
 * the hardware being used.
 */

#ifndef FAP_MACROS_H__
#define FAP_MACROS_H__

// Implementation for nRF24LU1
#define FAP_NRF_IRQ_ENABLE() do { RF = 1;} while(0) 
#define FAP_NRF_IRQ_DISABLE()do { RF = 0; } while(0)
#define FAP_TIMER_IRQ_ENABLE() do { ET2 = 1;} while(0)
#define FAP_TIMER_IRQ_DISABLE() do {ET2 = 0;} while(0)

#endif // FAP_MACROS_H__

/** @} */
